Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>Windows Scripting Host</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/Windows_Scripting_Host"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Windows_Scripting_Host rootpage-Windows_Scripting_Host skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Windows Scripting Host</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr">
<div class="infobox_v3 infobox infobox--frwiki noarchive" style="width:260px">
<div class="entete icon informatique" style="color: #000000;"><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */


.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}


/* end https://fr.wikipedia.org/ */
</style>
<div>Windows Script Host</div>
</div>
<p class="mw-empty-elt">


</p>
<table><caption style="color:#000000;">Informations</caption>



<tbody><tr>
<th scope="row"><a href="D%C3%A9veloppeur" title="Développeur">Développé par</a></th>
<td>
<a href="Microsoft" title="Microsoft">Microsoft</a></td>
</tr>





<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Dernière version</a>
</th>
<td>
<span class="wd_p348">5.812.10240.16384 (<time class="nowrap" datetime="2021-05-02" data-sort-value="2021-05-02">2 mai 2021</time>)<sup id="cite_ref-wikidata-430ca8ffd4cbc8c98302becdaa285ec45c8e4ef2_1-0" class="reference"><a href="#cite_note-wikidata-430ca8ffd4cbc8c98302becdaa285ec45c8e4ef2-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></span></td>
</tr>
















<tr>
<th scope="row"><a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">Système d'exploitation</a></th>
<td>
<span class="wd_p306"><a href="Microsoft_Windows" title="Microsoft Windows">Microsoft Windows</a></span></td>
</tr>

<tr>
<th scope="row"><a href="Plateforme_informatique" title="Plateforme informatique">Environnement</a></th>
<td>
<a href="Windows" class="mw-redirect" title="Windows">Windows</a></td>
</tr>







<tr>
<th scope="row"><a href="Internationalisation_(informatique)" title="Internationalisation (informatique)">Langues</a></th>
<td>
<span class="wd_p407"><a href="Multilinguisme" title="Multilinguisme">Multilingue</a></span></td>
</tr>

<tr>
<th scope="row"> Type
</th>
<td>
<a href="Langage_de_script" title="Langage de script">Langage de script</a></td>
</tr>

<tr>
<th scope="row"> <a href="Politique_de_distribution" title="Politique de distribution">Politique de distribution</a>
</th>
<td>
<a href="Offre_group%C3%A9e" title="Offre groupée">incorporé</a> dans <a href="Windows" class="mw-redirect" title="Windows">Windows</a></td>
</tr>

<tr>
<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a></th>
<td>
<span class="wd_p275"><a href="Licence_propri%C3%A9taire" title="Licence propriétaire">Licence propriétaire</a></span></td>
</tr>





</tbody></table>
<p class="mw-empty-elt">

</p>
</div>
<p><i><b>Windows Script Host</b></i>, aussi abrégé en <b>WSH</b>, désigne un <a href="Logiciel" title="Logiciel">logiciel</a> permettant d'exécuter des scripts, inclus dans les <a href="Syst%C3%A8mes_d'exploitation" class="mw-redirect" title="Systèmes d'exploitation">systèmes d'exploitation</a> <a href="Microsoft_Windows" title="Microsoft Windows">Windows</a>. Concrètement, il se présente sous la forme de trois programmes hôtes&nbsp;: <code>wscript.exe</code> (pour les scripts interagissant avec l'utilisateur via l'interface graphique), <code>cscript.exe</code> (pour les scripts utilisés depuis l'invite de commandes), et <code>mshta.exe</code> (un peu différent des deux autres, pour les <a href="HTML_Application" title="HTML Application">applications HTML</a>).
</p><p>Ces hôtes sont indépendants du <a href="Langage_de_programmation" title="Langage de programmation">langage de programmation</a> utilisé, et lancent l'interpréteur approprié pour exécuter le script. Les systèmes <a href="Microsoft_Windows" title="Microsoft Windows">Windows</a> incluent deux interpréteurs&nbsp;: <a href="VBScript" title="VBScript">VBScript</a> et <a href="JScript" title="JScript">JScript</a>. (Ce sont les mêmes interpréteurs que ceux utilisés par <a href="Internet_Explorer" title="Internet Explorer">Internet Explorer</a>). Des interpréteurs pour d'autres langages, comme <a href="Perl_(langage)" title="Perl (langage)">Perl</a>, ont été réalisés par d'autres entreprises.
</p><p>Ces interpréteurs peuvent ensuite accéder au système par l'intermédiaire des objets <a href="Component_Object_Model" title="Component Object Model">COM</a>/ActiveX scriptables installés sur le système. (Ils peuvent en particulier faire appel à <a href="Windows_Management_Instrumentation" title="Windows Management Instrumentation">WMI</a> pour interagir avec le système d'exploitation).
</p><p>Cette technologie de scripts n'est plus activement développée, au profit de <a href="Microsoft_.NET" title="Microsoft .NET">.Net</a> et de <a href="Windows_PowerShell" title="Windows PowerShell">Windows PowerShell</a>. Elle peut cependant s'avérer encore utile dans des contextes où <a href="Microsoft_.NET" title="Microsoft .NET">.Net</a> n'est pas disponible, comme dans <a href="Environnement_de_pr%C3%A9-installation_Windows" title="Environnement de pré-installation Windows">Windows PE</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Annexes">Annexes</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Articles_connexes">Articles connexes</h3></div>
<ul><li><a href="JScript" title="JScript">JScript</a></li>
<li><a href="VBScript" title="VBScript">VBScript</a></li>
<li><a href="HTML_Application" title="HTML Application">HTML Application</a></li>
<li><a href="Windows_PowerShell" title="Windows PowerShell">Windows PowerShell</a></li></ul>
<div class="mw-heading mw-heading3"><h3 id="Liens_externes">Liens externes</h3></div>
<ul><li><a rel="nofollow" class="external text" href="http://msdn.microsoft.com/en-us/library/d1et7k7c(VS.85,loband).aspx">WSH sur MSDN</a></li>
<li><a rel="nofollow" class="external text" href="https://technet.microsoft.com/en-us/scriptcenter/default.aspx">Le Script Center chez Microsoft</a></li>
<li><a rel="nofollow" class="external text" href="https://web.archive.org/web/20130927104446/http://johnfender.fr/?p=446">How to add Perl extension to WSH</a></li></ul>
<div class="navbox-container" style="clear:both;">

</div>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de la programmation informatique</span> </span></li> <li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de Microsoft</span> </span></li> </ul>
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-wikidata-430ca8ffd4cbc8c98302becdaa285ec45c8e4ef2-1"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-430ca8ffd4cbc8c98302becdaa285ec45c8e4ef2_1-0">↑</a> </span><span class="reference-text"><span class="ouvrage"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> «&nbsp;<a rel="nofollow" class="external text" href="https://manalyzer.org/report/24590bf74bbbbfd7d7ac070f4e3c44fd"><cite style="font-style:normal;" lang="en"><span class="lang-en" lang="en">Microsoft ® Console Based Script Host (Summary)</span></cite></a>&nbsp;» <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2024-09-15" data-sort-value="2024-09-15">15 septembre 2024</time>)</small></span></span>
</li>
</ol></div></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2023-08-10" href="https://fr.wikipedia.org/wiki/?title=Windows_Scripting_Host&amp;oldid=206810069">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>

</body></html>